home *** CD-ROM | disk | FTP | other *** search
- From: SimsGW@msn.com (Gary Sims)
- Subject: RE: Draw that ARROW for me...PLEASE!!!
- Date: 16 Jan 96 02:38:15 -0800
- References: <1996Jan11.221043.16630@wvnvms>
- Message-ID: <00001a81+00008e43@msn.com>
- Path: news.msn.com!msn.com
- Newsgroups: comp.lang.c++
- Organization: The Microsoft Network (msn.com)
-
- Without a primitive, you'll have to code it yourself. An arrow is
- three lines. Draw the real line portion first. Then compute the angle
- of the head outline as thirty degrees to either side of the line
- itself and then draw the head a two short lines -- usually three
- pixels long gives a satisfactory effect. Closing the head outline
- with a fourth line connecting the "back" end of the two short lines
- is optional. Personally, I think it looks better without closing the
- outline.
-
- Gary W. Sims
- Stonehaven Laboratory
-
-